package com.yjps.system.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by 麒全 on 2015/8/18.
 */
@Entity
@Table(name = "t_resume")
public class Resume extends BaseModel{
    @Column(name = "name",nullable = false)
    private String name;
    @Column(name = "sex",nullable = false)
    private boolean sex;
    @Column(name = "age",nullable = false)
    private int age;
    @Column(name = "job",nullable = false)
    private String job;
    @Column(name = "mobile",nullable = false)
    private String mobile;
    @Column(name = "email",nullable = false)
    private String email;
    @Column(name = "forward")
    private String forward;
    @Column(name = "expect_salar",nullable = false)
    private int expect_salar;
    @Column(name = "expression")
    private String expression;
    @Column(name = "honor")
    private String honor;
    @Column(name = "skill")
    private String skill;
    @Column(name = "user_id",nullable = false)
    private int userId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSex() {
        return sex;
    }

    public void setSex(boolean sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getForward() {
        return forward;
    }

    public void setForward(String forward) {
        this.forward = forward;
    }

    public int getExpect_salar() {
        return expect_salar;
    }

    public void setExpect_salar(int expect_salar) {
        this.expect_salar = expect_salar;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public String getHonor() {
        return honor;
    }

    public void setHonor(String honor) {
        this.honor = honor;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
